package org.jeecg.modules.erp.base.service;


import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.erp.base.entity.ErpWarehouse;

import java.io.Serializable;
import java.util.Collection;


/**
 * @Description: erp_warehouse
 * @Author: jeecg-boot
 * @Date:   2024-05-17
 * @Version: V1.0
 */
public interface IErpWarehouseService extends IService<ErpWarehouse> {

	/**
	 * 添加一对多
	 *
	 * @param erpWarehouse
	 */
	public void saveMain(ErpWarehouse erpWarehouse) ;
	
	/**
	 * 修改一对多
	 *
   * @param erpWarehouse
	 */
	public void updateMain(ErpWarehouse erpWarehouse);
	
	/**
	 * 删除一对多
	 *
	 * @param id
	 */
	public void delMain (String id);
	
	/**
	 * 批量删除一对多
	 *
	 * @param idList
	 */
	public void delBatchMain (Collection<? extends Serializable> idList);

	public ErpWarehouse selectByLocation(String locationId);
	
}
